class AddDefaultFeatures < ActiveRecord::Migration
  def self.up
    feature = Feature.create(:name =>"Blank Line" ,                 :cost =>"0" ,:infotext =>"" ,:scale=>0,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Stregth" ,      :cost =>"3" ,:infotext =>"+X Str" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Dexterity" ,    :cost =>"3" ,:infotext =>"+X Dex" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Constitution" , :cost =>"3" ,:infotext =>"+X Con" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Intellegence" , :cost =>"3" ,:infotext =>"+X Int" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Wisdom" ,       :cost =>"3" ,:infotext =>"+X Wis" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Bonus Charisma" ,     :cost =>"3" ,:infotext =>"+X Cha" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Score Stregth" ,      :cost =>"1" ,:infotext =>"X Str" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Score Dexterity" ,    :cost =>"3" ,:infotext =>"X Dex" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Score Intellegence" , :cost =>"5" ,:infotext =>"X Int" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Score Wisdom" ,       :cost =>"3" ,:infotext =>"X Wis" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Ability Score Charisma" ,     :cost =>"6" ,:infotext =>"X Cha" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Additional Hardness" ,        :cost =>"2" ,:infotext =>"+X Hardness" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Additional Hit point" ,     :cost =>"0.2" ,:infotext =>"+X HP" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Armor Bonus" ,                :cost =>"1" ,:infotext =>"+X AC" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Attack Roll Bonus" ,          :cost =>"2" ,:infotext =>"+X Attack" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Blast Radius" ,               :cost =>"2" ,:infotext =>"Blast Radius X Ft." ,:scale=>5,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Cargo Capacity" ,             :cost =>"1" ,:infotext =>"Cargo Capacity X Lbs" ,:scale=>200,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Climb Speed" ,                :cost =>"1" ,:infotext =>"Climb Speed X Mph" ,:scale=>5,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Damage Reduction" ,           :cost =>"3" ,:infotext =>"X/-",:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Deals Damage" ,               :cost =>"3" ,:infotext =>"XD6 Points/Round" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Fly Speed" ,                  :cost =>"1" ,:infotext =>"Fly Speed X Mph",:scale=>5,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Land Speed",                  :cost =>"1" ,:infotext =>"Land Speed X Mph" ,:scale=>20,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Maneuverability Rating" ,     :cost =>"2" ,:infotext =>"Maneuver Rating X" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Projectile Weapon" ,          :cost =>"3" ,:infotext =>"Projectile Weapon" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Range Increment" ,            :cost =>"1" ,:infotext =>"Range Inc X Ft" ,:scale=>50,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Skill Check Bonus" ,        :cost =>"0.5" ,:infotext =>"+X Skill" ,:scale=>1,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Swim Speed" ,                 :cost =>"1" ,:infotext =>"Swim Speed X Mph" ,:scale=>10,:maxts=>nil)
    feature.save!
    feature = Feature.create(:name =>"Underwater Capability" ,     :cost =>"10" ,:infotext =>"Underwater Capacity" ,:scale=>1,:maxts=>nil)
    feature.save!
  end

  def self.down
    Feature.delete_all
  end
end
